#pragma once
#include <iostream>
#include <vector>
#include <string>

using namespace std;
typedef int INTEGER;
typedef int INDEX;
typedef int LINENUM;
typedef bool BOOLEAN;
typedef string NODETYPE;
typedef string LINKTYPE;




class Parent
{
private:
	vector<pair<LINENUM,LINENUM>> _table;
	INTEGER _size;
public:
	Parent();
	BOOLEAN setParentPair(LINENUM line1, LINENUM line2);
	vector <pair <LINENUM, LINENUM>> getParentPair();
	INTEGER getParentSize();
	LINENUM getMyParent(LINENUM line2);
	vector<LINENUM> getMyChildren(LINENUM line1);
	BOOLEAN isParent(LINENUM line1, LINENUM line2);
	BOOLEAN isParentStar(LINENUM line1, LINENUM line2);
};